package com.woniuxy.mq02;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//启用Rabbit,很多框架可以不写启用注解，会自动启用。有的框架必须写OpenFeign
@EnableRabbit
@SpringBootApplication
public class Mq02Application {

    public static void main(String[] args) {
        SpringApplication.run(Mq02Application.class, args);
    }

}
